package com.yaowk.system.validator;

import com.jfinal.core.Controller;
import com.yaowk.common.kit.Constant;
import com.yaowk.common.kit.I18nKit;

/**
 * 编辑平台参数验证
 *
 * @authc yaowk
 * 2017/4/19
 */
public class EditPlatformValidator extends AddPlatformValidator {
    @Override
    protected void validate(Controller c) {
        validateInteger("sort", 1, Integer.MAX_VALUE, ERROR_CODE, I18nKit.get("param_error", Constant.SYSTEM_MODULE, c));
        super.validate(c);
    }
}
